//引入axios
import axios from 'axios';

//创建一个axios
export let axios1 = axios.create({
//设置baseURL是为了之后做代理
    baseURL: '/api1',
    timeout: 5000
});

//创建第二个axios
export let axios2 = axios.create({
    baseURL: '/api2',
    timeout: 5000
});